package org.easyreport.web;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

@Controller
public class HomeController {

	@RequestMapping("contacts")
	public String helloWorld(Model model) {
		model.addAttribute("message", "Hello World!");
		ModelAndView mav = new ModelAndView("contact");
		return "contact";
	}
}
